/**
 * Author: CreateSun
 * Date: 2020/8/14
 * Description: 时间-日期处理
 */

export const dateConvert = (arr, length = 3, type = '-') => {
    if(arr) return arr.splice(0, length).join(type);
    else return ""
};